package com.xiyoufang.club.response;

public class JMessageProtocalRes
        extends JAbsMessageProtocal {
    private Integer resultCode;
    private Object content;
    private Boolean result;
    private String resultInfo;
    private Integer mainType = 5;

    private Integer subType;


    public void setContent(Object content) {
        this.content = content;
    }

    public Integer getSubType() {
        return subType;
    }

    public void setSubType(Integer subType) {
        this.subType = subType;
    }

    public Integer getMainType() {
        return mainType;
    }

    public void setMainType(Integer mainType) {
        this.mainType = mainType;
    }

    @Override
    public int getLength() {
        return 0;
    }

    public String getResultInfo() {
        return resultInfo;
    }

    public void setResultInfo(String resultInfo) {
        this.resultInfo = resultInfo;
    }

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    @Override
    public byte getTag() {
        return 5;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public Integer getResultCode() {
        return this.resultCode;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Object getContent() {
        return this.content;
    }

    @Override
    public String toString() {
        return
                "JMessageProtocalRes [content=" + this.content + ", resultCode=" + this.resultCode + ", getLength()=" + getLength() + ", getTag()=" + getTag() + "]";
    }
}
